package org.sp.model;

import java.util.ArrayList;
import java.util.List;


public class GPX {
	private MetaData metadata;
	private List<Track> trackList;
	private Extension extensions;
	private String version;
	private String creator;

	public GPX() {
		super();
	}

	public MetaData getMetadata() {
		return metadata;
	}

	public void setMetadata(MetaData metadata) {
		this.metadata = metadata;
	}

	public List<Track> getTrackList() {
		if (trackList == null) {
			trackList = new ArrayList<Track>();
		}
		return trackList;
	}

	public void setTrackList(List<Track> trackList) {
		this.trackList = trackList;
	}

	public Extension getExtensions() {
		return extensions;
	}

	public void setExtensions(Extension extensions) {
		this.extensions = extensions;
	}

	public String getVersion() {
		return version;
	}

	public void setVersion(String version) {
		this.version = version;
	}

	public String getCreator() {
		return creator;
	}

	public void setCreator(String creator) {
		this.creator = creator;
	}
	
}
